﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Pipes.Queries.MetaData;
using Pipes.Queries.Model.Query;

namespace Pipes.Queries.Provider
{
  public interface IProvider
  {
    // Check credentials and load metadata
    void Connect();
    // Execute query
    DataSet ExecuteQuery(Script query);
    // Get metadata
    IMetaObject GetMetaData(IEnumerable<string> path);
  }
}
